<?php
return [
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
    'language'   => 'zh-CN',
    'timeZone'   => 'PRC',
    'charset'    => 'utf-8',
    'components' => [
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        'db'        => [
            'class'       => 'yii\db\Connection',
            'dsn'         => 'mysql:host=;dbname=',
            'username'    => 'root',
            'password'    => '',
            'charset'     => 'utf8',
            'tablePrefix' => '',
        ],
        'formatter' => [
            'defaultTimeZone' => 'PRC',
            'dateFormat'      => 'php:Y-m-d',
            'timeFormat'      => 'php:H:i:s',
            'datetimeFormat'  => 'php:Y-m-d H:i:s',
        ],
    ],
];
